<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=640,target-densitydpi=320, user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title>${_sellerUser.title }</title>
    [#include "/includes/header.html" /]
    <link rel="stylesheet" type="text/css" href="${webctx}/resources/css/detail.css">
    <script type="text/javascript" src="${webctx}/resources/js/phonecash.js"></script>
</head>
<body>
<div class="register_msgcont">
    <h1 class="register_msgtitle">${prize.exchange_title }</h1>
    <div class="immediately_explain">
        <ul>
            <li><p>充值话费面值：<span>${prize.phone_cash }</span>元</p></li>
            <li><p>剩余数量：<span>${prize.publish_count - prize.had_exchange_count}</span></p></li>
            <li><p>结束时间：<span>${fn:substring(end_date, 0, 10)}</span></p></li>
            <li><p>每人限兑<span>${prize.exchange_count }</span>次，您已兑<span>${exchange_count }</span>次</p></li>
            <li>
                <p>需要${_sellerUser.jifenalias}：<span>${prize.need_points }</span><span class="sep">，我的${_sellerUser.jifenalias}：</span><span>${buyerUser.scroe}</span>
                </p>
            </li>
            <li class="width_input">
                <p>真实姓名：</p>
                <p><input type="text" id="name" class="text"/></p>
                <p>充值手机号：</p>
                <p><input type="text" id="phone" class="text" maxlength="11"/></p>
            </li>
        </ul>
        <a class="immediately_sign btn_exchange" href="javascript:javascript:(0);">立即兑换</a>
    </div>
    <input type="hidden" id="db_prize_id" value="${prize.id }"/>
    <input type="hidden" id="db_seller_nick" value="${_sellerUser.encodSellerNick }"/>
    <input type="hidden" id="db_real_buyer_nick" value="${_buyerUser.realNick }"/>
    <div id="tips" class="immediately_popupbg">
        <div class="immediately_popup">
            <div class="immediately_popup_cont">
                <div class="exchange_success_box">
                    <div class="tips">提交成功，我们会尽快为您处理！<br/>如果有问题请联系客服。</div>
                </div>
            </div>
            <div class="immediately_popup_cont">
                <a class="but" href="javascript:location.reload();">确定</a>
            </div>
        </div>
    </div>
    [#include "/includes/footer.html" /]
</div>
</body>
</html>